package com.tedu.goods.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class GoodsVO {
    @ApiModelProperty(value = "商品id")
    private Integer id;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品编码")
    private Integer code;
    @ApiModelProperty(value = "商品价格")
    private String price;
    @ApiModelProperty(value = "商品状态")
    private String status;
    @ApiModelProperty(value = "商品类型")
    private String type;
    @ApiModelProperty(value = "商品库存")
    private Integer repertory;
    @ApiModelProperty(value = "商品销量")
    private Integer sales;
    @ApiModelProperty(value = "商品更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "商品创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "商品图片")
    private String picture;
}
